recordfield id 214 ,recordfield id 215 ,recordfield id 216 ,recordfield id 217 ,recordfield id 218 ,recordfield id 219 ,recordfield id 220 ,recordfield id 221 ,recordfield id 222 ,recordfield id 223 ,recordfield id 224 ,recordfield id 225 ,recordfield id 226 ,recordfield id 227 ,recordfield id 228 ,recordfield id 229 ,recordfield id 230 ,recordfield id 231 ,recordfield id 232 ,recordfield id 233 ,recordfield id 234 ,recordfield id 235 ,recordfield id 236 ,recordfield id 237 ,recordfield id 238 ,recordfield id 239 ,recordfield id 240 ,recordfield id 241 ,recordfield id 242 ,recordfield id 243
4ox, oy, moved, prevpos
4ox, oy
H0, ty - oy
getcurrenttime()
H200,0
"This took" && getTime(
) && "
buttonstilldown
buttondown
buttonup
buttondoubleclick
buttondown
moved
prevpos
buttonstilldown
buttonup
buttonstilldown
buttondoubleclick
getcurrenttime
This took
getTime
seconds to move.
moved
prevpos
Does It Matter Where Objects Are?The Background
Drag the arrow to a row of objects, then double click it.
buttonup
buttonup
response
Aw geeOkaylreadyr me?ha ha ha
This tests redrawing of objects on the background and page.
The bottom two rows are draw objects on the page and background.
4ox, oy, moved, prevpos
4ox, oy
H0, ty - oy
getcurrenttime()
H200,0
"This took" && getTime(
) && "
buttonstilldown
buttondown
buttonup
buttondoubleclick
buttondown
moved
prevpos
buttonstilldown
buttonup
buttonstilldown
buttondoubleclick
getcurrenttime
This took
getTime
seconds to move.
moved
prevpos
There
4ox, oy, moved, prevpos
4ox, oy
H0, ty - oy
getcurrenttime()
H200,0
"This took" && getTime(
) && "
buttonstilldown
buttondown
buttonup
buttondoubleclick
buttondown
moved
prevpos
buttonstilldown
buttonup
buttonstilldown
buttondoubleclick
getcurrenttime
This took
getTime
seconds to move.
moved
prevpos
flipper
afterflip
enterpage
enterpage
"Now
good men
come
their country."
getcurrenttime()
"It took" && getTime(
) && "
buttonup
buttonup
Now is the time for all good men to come to the aid of their country.
getcurrenttime
It took
getTime
seconds to do this.
An Opaque Overlapping Field
"Now
good men
come
their country."
getcurrenttime()
"It took" && getTime(
) && "
buttonup
buttonup
Now is the time for all good men to come to the aid of their country.
getcurrenttime
It took
getTime
seconds to do this.
A Transparent Overlapping Field
"Now
good men
come
their country."
getcurrenttime()
"It took" && getTime(
) && "
buttonup
buttonup
Now is the time for all good men to come to the aid of their country.
getcurrenttime
It took
getTime
seconds to do this.
An Opaque Field
"Now
good men
come
their country."
getcurrenttime()
"It took" && getTime(
) && "
buttonup
buttonup
Now is the time for all good men to come to the aid of their country.
getcurrenttime
It took
getTime
seconds to do this.
A Transparent Field
Be Careful How You Place Fieldsdssssss
The speed of typing or of displaying text through OpenScript can vary greatly: :, depending on:
getcurrenttime()
"It only took" && getTime(
) && "
a list
100 things."
buttonup
buttonup
getcurrenttime
It only took
getTime
seconds to pop a list of 100 things.
The Right Way --> Pop
getcurrenttime()
"That was" && getTime(
) && "
iterate through a list
100 things."
buttonup
buttonup
getcurrenttime
That was
getTime
seconds to iterate through a list of 100 things.
The Wrong Way --> Item
An Obscure Concept: Pop, Don't Steptep
When referring to items in a comma-separated list, don't step through items by saying "item i of foo". Instead just pop a working copy of the list until it's null.
to handle buttonup
system realList
local wrkList
set wrkList to realList
while wrkList is not null
pop wrkList
--do something with IT here
end
to handle buttonup
system realList
step i from 1 to itemcount(realList)
get item i of realList
--do something with IT here
end
end
Some Common Sense.... Sense...
Use a common background for similar pages
Minimize the number of objects on the page and background
Group objects only when your scripts require it
Clip bitmaps to as small a size as possible
Clean up your books before distributing themed rectangular ones
Avoid overlapping objects such as data fields and their labels
Use a background pattern of none if you're brave
Don't wrap text in fields if you can instead fit it all on one lineve
Don't wrap text in fields if you can instead fit it all on one linerap text in fields if you can instead fit it all on one line
Maybe These Aren't So Obvious...o
Cache property values and object references into variables
"Clear" properties or variables instead of setting them to null
Put keyDown/Up/Char handlers only where they're needed
Limit code in your Idle handler
Use the "character" string specifier over "word" or textline"
Pre-flip pages before showing the main windowowwndown windowwre showing the main window
"cache"
"udp"
terpage
leavepage
enterpage
enterpage
leavepage
cache
"cache"
getcurrenttime()
"It only took" && getTime(
) && "
refer
a property value that was cached
buttonup
buttonup
cache
getcurrenttime
It only took
getTime
seconds to refer to a property value that was cached in a local variable.
Cache A Property
getcurrenttime()
"However
took" && getTime(
) && "
refer directly
a default property 2000 times."
buttonup
buttonup
getcurrenttime
However it took
getTime
seconds to refer directly to a default property 2000 times.
Refer To A Default Property
Referring to Properties vs. Caching Them
If you need to refer to a property of an object more than once in a handler, or series of handlers, it will be much faster to set a variable to that value, and then refer to that variable instead of the property. This is especially true for user-defined properties, which take twice as long to get as default properties do.
"udp"
getcurrenttime()
"And
took" && getTime(
) && "
refer
a user-defined property 2000 times."
buttonup
buttonup
getcurrenttime
And it took
getTime
seconds to refer to a user-defined property 2000 times.
Refer To A User-Defined Property
cache
to handle buttonup
set bar to name of this page
step i from 1 to 2000
set foo to bar
end
end
set syscursor to 1
foo to t
end
beep 1
set syscursor to 1
to handle buttonup
step i from 1 to 2000
set foo to name of this page
end
set syscursor to 1
of this page
end
beep 1
set syscursor to 1
et syscursor to 1
to handle buttonup
step i from 1 to 2000
set foo to bar of this page
end
i from 1 to 2000
set xoo to foo of this page
end
set syscursor to 1
et syscursor to 1
yellow
getcurrenttime()
"It took" && (
)/1000 && "
a message
here."
buttonup
buttonup
getcurrenttime
It took
getcurrenttime
seconds for a message to get here.
Send Message (Book Handler)
"vs. Caching Them
If you need to refer to a property of an object more than once in a handler, or series of handlers, it will be much faster to set a variable to that value, and then refer to that variable instead of the property. This is especially true for user-defined properties, which take twice as long to get as default properties do.
"udp"
getcurrenttime()
"And
took" && getTime(
) && "
refer
a user-defined property 2000 times."
buttonup
buttonup
getcurrenttime
And it took
getTime
seconds to refer to a user-defined property 2000 times.
Refer To A User-Defined Property
cache
to handle buttonup
set bar to name of this page
step i from 1 to 2000
set foo to bar
end
end
set syscursor to 1
foo to t
end
beep 1
set syscursor to 1
to handle buttonup
step i from 1 to 2000
set foo to name of this page
end
set syscursor to 1
of this page
end
beep 1
set syscursor to 1
et syscursor to 1
to handle buttonup
step i from 1 to 2000
set foo to bar of this page
end
i from 1 to 2000
set xoo to foo of this page
end
set syscursor to 1
et syscursor to 1
yellow
getcurrenttime()
"It took" && (
)/1000 && "
a message
here."
buttonup
buttonup
getcurrenttime
It took
getcurrenttime
seconds for a message to get here.
Send Message (Book Handler)
"vs. Caching Them
If you need to refer to a property of an object more than once in a handler, or series of handlers, it will be much faster to set a variable to that value, and then refer to that variable instead of the property. This is especially true for user-defined properties, which take twice as long to get as default properties do.
"udp"
getcurrenttime()
"And
took" && getTime(
) && "
refer
a user-defined property 2000 times."
buttonup
buttonup
getcurrenttime
And it took
getTime
seconds to refer to a user-defined property 2000 times.
Refer To A User-Defined Property
cache
to handle buttonup
set bar to name of this page
step i from 1 to 2000
set foo to bar
end
end
set syscursor to 1
foo to t
end
beep 1
set syscursor to 1
to handle buttonup
step i from 1 to 2000
set foo to name of this page
end
set syscursor to 1
of this page
end
beep 1
set syscursor to 1
et syscursor to 1
to handle buttonup
step i from 1 to 2000
set foo to bar of this page
end
i from 1 to 2000
set xoo to foo of this page
end
set syscursor to 1
et syscursor to 1
yellow
getcurrenttime()
"It took" && (
)/1000 && "
a message
here."
buttonup
buttonup
getcurrenttime
It took
getcurrenttime
seconds for a message to get here.
Send Message (Book Handler)
"vs. Caching Them
If you need to refer to a property of an object more than once in a handler, or series of handlers, it will be much faster to set a variable to that value, and then refer to that variable instead of the property. This is especially true for user-defined properties, which take twice as long to get as default properties do.
"udp"
getcurrenttime()
"And
took" && getTime(
) && "
refer
a user-defined property 2000 times."
buttonup
buttonup
getcurrenttime
And it took
getTime
seconds to refer to a user-defined property 2000 times.
Refer To A User-Defined Property
cache
to handle buttonup
set bar to name of this page
step i from 1 to 2000
set foo to bar
end
end
set syscursor to 1
foo to t
end
beep 1
set syscursor to 1
to handle buttonup
step i from 1 to 2000
set foo to name of this page
end
set syscursor to 1
of this page
end
beep 1
set syscursor to 1
et syscursor to 1
to handle buttonup
step i from 1 to 2000
set foo to bar of this page
end
i from 1 to 2000
set xoo to foo of this page
end
set syscursor to 1
et syscursor to 1
yellow
getcurrenttime()
"It took" && (
)/1000 && "
a message
here."
buttonup
buttonup
getcurrenttime
It took
getcurrenttime
seconds for a message to get here.
Send Message (Book Handler)
"vs. Caching Them
If you need to refer to a property of an object more than once in a handler, or series of handlers, it will be much faster to set a variable to that value, and then refer to that variable instead of the property. This is especially true for user-defined properties, which take twice as long to get as default properties do.
"udp"
getcurrenttime()
"And
took" && getTime(
) && "
refer
a user-defined property 2000 times."
buttonup
buttonup
getcurrenttime
And it took
getTime
seconds to refer to a user-defined property 2000 times.
Refer To A User-Defined Property
cache
to handle buttonup
set bar to name of this page
step i from 1 to 2000
set foo to bar
end
end
set syscursor to 1
foo to t
end
beep 1
set syscursor to 1
to handle buttonup
step i from 1 to 2000
set foo to name of this page
end
set syscursor to 1
of this page
end
beep 1
set syscursor to 1
et syscursor to 1
to handle buttonup
step i from 1 to 2000
set foo to bar of this page
end
i from 1 to 2000
set xoo to foo of this page
end
set syscursor to 1
et syscursor to 1
yellow
getcurrenttime()
"It took" && (
)/1000 && "
a message
here."
buttonup
buttonup
getcurrenttime
It took
getcurrenttime
seconds for a message to get here.
Send Message (Book Handler)
"vs. Caching Them
If you need to refer to a property of an object more than once in a handler, or series of handlers, it will be much faster to set a variable to that value, and then refer to that variable instead of the property. This is especially true for user-defined properties, which take twice as long to get as default properties do.
"udp"
getcurrenttime()
"And
took" && getTime(
) && "
refer
a user-defined property 2000 times."
buttonup
buttonup
getcurrenttime
And it took
getTime
seconds to refer to a user-defined property 2000 times.
Refer To A User-Defined Property
cache
to handle buttonup
set bar to name of this page
step i from 1 to 2000
set foo to bar
end
end
set syscursor to 1
foo to t
end
beep 1
set syscursor to 1
to handle buttonup
step i from 1 to 2000
set foo to name of this page
end
set syscursor to 1
of this page
end
beep 1
set syscursor to 1
et syscursor to 1
to handle buttonup
step i from 1 to 2000
set foo to bar of this page
end
i from 1 to 2000
set xoo to foo of this page
end
set syscursor to 1
et syscursor to 1
yellow
getcurrenttime()
"It took" && (
)/1000 && "
a message
here."
buttonup
buttonup
getcurrenttime
It took
getcurrenttime
seconds for a message to get here.
Send Message (Book Handler)
"vs. Caching Them
If you need to refer to a property of an object more than once in a handler, or series of handlers, it will be much faster to set a variable to that value, and then refer to that variable instead of the property. This is especially true for user-defined properties, which take twice as long to get as default properties do.
"udp"
getcurrenttime()
"And
took" && getTime(
) && "
refer
a user-defined property 2000 times."
buttonup
buttonup
getcurrenttime
And it took
getTime
seconds to refer to a user-defined property 2000 times.
Refer To A User-Defined Property
cache
to handle buttonup
set bar to name of this page
step i from 1 to 2000
set foo to bar
end
end
set syscursor to 1
foo to t
end
beep 1
set syscursor to 1
to handle buttonup
step i from 1 to 2000
set foo to name of this page
end
set syscursor to 1
of this page
end
beep 1
set syscursor to 1
et syscursor to 1
to handle buttonup
step i from 1 to 2000
set foo to bar of this page
end
i from 1 to 2000
set xoo to foo of this page
end
set syscursor to 1
et syscursor to 1
yellow
getcurrenttime()
"It took" && (
)/1000 && "
a message
here."
buttonup
buttonup
getcurrenttime
It took
getcurrenttime
seconds for a message to get here.
Send Message (Book Handler)
"vs. Caching Them
If you need to refer to a property of an object more than once in a handler, or series of handlers, it will be much faster to set a variable to that value, and then refer to that variable instead of the property. This is especially true for user-defined properties, which take twice as long to get as default properties do.
"udp"
getcurrenttime()
"And
took" && getTime(
) && "
refer
a user-defined property 2000 times."
buttonup
buttonup
getcurrenttime
And it took
getTime
seconds to refer to a user-defined property 2000 times.
Refer To A User-Defined Property
cache
to handle buttonup
set bar to name of this page
step i from 1 to 2000
set foo to bar
end
end
set syscursor to 1
foo to t
end
beep 1
set syscursor to 1
to handle buttonup
step i from 1 to 2000
set foo to name of this page
end
set syscursor to 1
of this page
end
beep 1
set syscursor to 1
et syscursor to 1
to handle buttonup
step i from 1 to 2000
set foo to bar of this page
end
i from 1 to 2000
set xoo to foo of this page
end
set syscursor to 1
et syscursor to 1
yellow
getcurrenttime()
"It took" && (
)/1000 && "
a message
here."
buttonup
buttonup
getcurrenttime
It took
getcurrenttime
seconds for a message to get here.
Send Message (Book Handler)
"vs. Caching Them
If you need to refer to a property of an object more than once in a handler, or series of handlers, it will be much faster to set a variable to that value, and then refer to that variable instead of the property. This is especially true for user-defined properties, which take twice as long to get as default properties do.
"udp"
getcurrenttime()
"And
took" && getTime(
) && "
refer
a user-defined property 2000 times."
buttonup
buttonup
getcurrenttime
And it took
getTime
seconds to refer to a user-defined property 2000 times.
Refer To A User-Defined Property
cache
to handle buttonup
set bar to name of this page
step i from 1 to 2000
set foo to bar
end
end
set syscursor to 1
foo to t
end
beep 1
set syscursor to 1
to handle buttonup
step i from 1 to 2000
set foo to name of this page
end
set syscursor to 1
of this page
end
beep 1
set syscursor to 1
et syscursor to 1
to handle buttonup
step i from 1 to 2000
set foo to bar of this page
end
i from 1 to 2000
set xoo to foo of this page
end
set syscursor to 1
et syscursor to 1
yellow
getcurrenttime()
"It took" && (
)/1000 && "
a message
here."
buttonup
buttonup
getcurrenttime
It took
getcurrenttime
seconds for a message to get here.
Send Message (Book Handler)
"vs. Caching Them
If you need to refer to a property of an object more than once in a handler, or series of handlers, it will be much faster to set a variable to that value, and then refer to that variable instead of the property. This is especially true for user-defined properties, which take twice as long to get as default properties do.
"udp"
getcurrenttime()
"And
took" && getTime(
) && "
refer
a user-defined property 2000 times."
buttonup
buttonup
getcurrenttime
And it took
getTime
seconds to refer to a user-defined property 2000 times.
Refer To A User-Defined Property
cache
to handle buttonup
set bar to name of this page
step i from 1 to 2000
set foo to bar
end
end
set syscursor to 1
foo to t
end
beep 1
set syscursor to 1
to handle buttonup
step i from 1 to 2000
set foo to name of this page
end
set syscursor to 1
of this page
end
beep 1
set syscursor to 1
et syscursor to 1
to handle buttonup
step i from 1 to 2000
set foo to bar of this page
end
i from 1 to 2000
set xoo to foo of this page
end
set syscursor to 1
et syscursor to 1
yellow
getcurrenttime()
"It took" && (
)/1000 && "
a message
here."
buttonup
buttonup
getcurrenttime
It took
getcurrenttime
seconds for a message to get here.
Send Message (Book Handler)
"vs. Caching Them
If you need to refer to a property of an object more than once in a handler, or series of handlers, it will be much faster to set a variable to that value, and then refer to that variable instead of the property. This is especially true for user-defined properties, which take twice as long to get as default properties do.
"udp"
getcurrenttime()
"And
took" && getTime(
) && "
refer
a user-defined property 2000 times."
buttonup
buttonup
getcurrenttime
And it took
getTime
seconds to refer to a user-defined property 2000 times.
Refer To A User-Defined Property
cache
to handle buttonup
set bar to name of this page
step i from 1 to 2000
set foo to bar
end
end
set syscursor to 1
foo to t
end
beep 1
set syscursor to 1
to handle buttonup
step i from 1 to 2000
set foo to name of this page
end
set syscursor to 1
of this page
end
beep 1
set syscursor to 1
et syscursor to 1
to handle buttonup
step i from 1 to 2000
set foo to bar of this page
end
i from 1 to 2000
set xoo to foo of this page
end
set syscursor to 1
et syscursor to 1
yellow
getcurrenttime()
"It took" && (
)/1000 && "
a message
here."
buttonup
buttonup
getcurrenttime
It took
getcurrenttime
seconds for a message to get here.
Send Message (Book Handler)
"vs. Caching Them
If you need to refer to a property of an object more than once in a handler, or series of handlers, it will be much faster to set a variable to that value, and then refer to that variable instead of the property. This is especially true for user-defined properties, which take twice as long to get as default properties do.
"udp"
getcurrenttime()
"And
took" && getTime(
) && "
refer
a user-defined property 2000 times."
buttonup
buttonup
getcurrenttime
And it took
getTime
seconds to refer to a user-defined property 2000 times.
Refer To A User-Defined Property
cache
to handle buttonup
set bar to name of this page
step i from 1 to 2000
set foo to bar
end
end
set syscursor to 1
foo to t
end
beep 1
set syscursor to 1
to handle buttonup
step i from 1 to 2000
set foo to name of this page
end
set syscursor to 1
of this page
end
beep 1
set syscursor to 1
et syscursor to 1
to handle buttonup
step i from 1 to 2000
set foo to bar of this page
end
i from 1 to 2000
set xoo to foo of this page
end
set syscursor to 1
et syscursor to 1
yellow
getcurrenttime()
"It took" && (
)/1000 && "
a message
here."
buttonup
buttonup
getcurrenttime
It took
getcurrenttime
seconds for a message to get here.
Send Message (Book Handler)
"vs. Caching Them
If you need to refer to a property of an object more than once in a handler, or series of handlers, it will be much faster to set a variable to that value, and then refer to that variable instead of the property. This is especially true for user-defined properties, which take twice as long to get as default properties do.
"udp"
getcurrenttime()
"And
took" && getTime(
) && "
refer
a user-defined property 2000 times."
buttonup
buttonup
getcurrenttime
And it took
getTime
seconds to refer to a user-defined property 2000 times.
Refer To A User-Defined Property
cache
to handle buttonup
set bar to name of this page
step i from 1 to 2000
set foo to bar
end
end
set syscursor to 1
foo to t
end
beep 1
set syscursor to 1
to handle buttonup
step i from 1 to 2000
set foo to name of this page
end
set syscursor to 1
of this page
end
beep 1
set syscursor to 1
et syscursor to 1
to handle buttonup
step i from 1 to 2000
set foo to bar of this page
end
i from 1 to 2000
set xoo to foo of this page
end
set syscursor to 1
et syscursor to 1
yellow
getcurrenttime()
"It took" && (
)/1000 && "
a message
here."
buttonup
buttonup
getcurrenttime
It took
getcurrenttime
seconds for a message to get here.
Send Message (Book Handler)
"vs. Caching Them
If you need to refer to a property of an object more than once in a handler, or series of handlers, it will be much faster to set a variable to that value, and then refer to that variable instead of the property. This is especially true for user-defined properties, which take twice as long to get as default properties do.
"udp"
getcurrenttime()
"And
took" && getTime(
) && "
refer
a user-defined property 2000 times."
buttonup
buttonup
getcurrenttime
And it took
getTime
seconds to refer to a user-defined property 2000 times.
Refer To A User-Defined Property
cache
to handle buttonup
set bar to name of this page
step i from 1 to 2000
set foo to bar
end
end
set syscursor to 1
foo to t
end
beep 1
set syscursor to 1
to handle buttonup
step i from 1 to 2000
set foo to name of this page
end
set syscursor to 1
of this page
end
beep 1
set syscursor to 1
et syscursor to 1
to handle buttonup
step i from 1 to 2000
set foo to bar of this page
end
i from 1 to 2000
set xoo to foo of this page
end
set syscursor to 1
et syscursor to 1
yellow
getcurrenttime()
"It took" && (
)/1000 && "
a message
here."
buttonup
buttonup
getcurrenttime
It took
getcurrenttime
seconds for a message to get here.
Send Message (Book Handler)
"vs. Caching Them
If you need to refer to a property of an object more than once in a handler, or series of handlers, it will be much faster to set a variable to that value, and then refer to that variable instead of the property. This is especially true for user-defined properties, which take twice as long to get as default properties do.
"udp"
getcurrenttime()
"And
took" && getTime(
) && "
refer
a user-defined property 2000 times."
buttonup
buttonup
getcurrenttime
And it took
getTime
seconds to refer to a user-defined property 2000 times.
Refer To A User-Defined Property
cache
to handle buttonup
set bar to name of this page
step i from 1 to 2000
set foo to bar
end
end
set syscursor to 1
foo to t
end
beep 1
set syscursor to 1
to handle buttonup
step i from 1 to 2000
set foo to name of this page
end
set syscursor to 1
of this page
end
beep 1
set syscursor to 1
et syscursor to 1
to handle buttonup
step i from 1 to 2000
set foo to bar of this page
end
i from 1 to 2000
set xoo to foo of this page
end
set syscursor to 1
et syscursor to 1
yellow
getcurrenttime()
"It took" && (
)/1000 && "
a message
here."
buttonup
buttonup
getcurrenttime
It took
getcurrenttime
seconds for a message to get here.
Send Message (Book Handler)
"vs. Caching Them
If you need to refer to a property of an object more than once in a handler, or series of handlers, it will be much faster to set a variable to that value, and then refer to that variable instead of the property. This is especially true for user-defined properties, which take twice as long to get as default properties do.
"udp"
getcurrenttime()
"And
took" && getTime(
) && "
refer
a user-defined property 2000 times."
buttonup
buttonup
getcurrenttime
And it took
getTime
seconds to refer to a user-defined property 2000 times.
Refer To A User-Defined Property
cache
to handle buttonup
set bar to name of this page
step i from 1 to 2000
set foo to bar
end
end
set syscursor to 1
foo to t
end
beep 1
set syscursor to 1
to handle buttonup
step i from 1 to 2000
set foo to name of this page
end
set syscursor to 1
of this page
end
beep 1
set syscursor to 1
et syscursor to 1
to handle buttonup
step i from 1 to 2000
set foo to bar of this page
end
i from 1 to 2000
set xoo to foo of this page
end
set syscursor to 1
et syscursor to 1
yellow
getcurrenttime()
"It took" && (
)/1000 && "
a message
here."
buttonup
buttonup
getcurrenttime
It took
getcurrenttime
seconds for a message to get here.
Send Message (Book Handler)
"vs. Caching Them
If you need to refer to a property of an object more than once in a handler, or series of handlers, it will be much faster to set a variable to that value, and then refer to that variable instead of the property. This is especially true for user-defined properties, which take twice as long to get as default properties do.
"udp"
getcurrenttime()
"And
took" && getTime(
) && "
refer
a user-defined property 2000 times."
buttonup
buttonup
getcurrenttime
And it took
getTime
seconds to refer to a user-defined property 2000 times.
Refer To A User-Defined Property
cache
to handle buttonup
set bar to name of this page
step i from 1 to 2000
set foo to bar
end
end
set syscursor to 1
foo to t
end
beep 1
set syscursor to 1
to handle buttonup
step i from 1 to 2000
set foo to name of this page
end
set syscursor to 1
of this page
end
beep 1
set syscursor to 1
et syscursor to 1
to handle buttonup
step i from 1 to 2000
set foo to bar of this page
end
i from 1 to 2000
set xoo to foo of this page
end
set syscursor to 1
et syscursor to 1
yellow
getcurrenttime()
"It took" && (
)/1000 && "
a message
here."
buttonup
buttonup
getcurrenttime
It took
getcurrenttime
seconds for a message to get here.
Send Message (Book Handler)
"vs. Caching Them
If you need to refer to a property of an object more than once in a handler, or series of handlers, it will be much faster to set a variable to that value, and then refer to that variable instead of the property. This is especially true for user-defined properties, which take twice as long to get as default properties do.
"udp"
getcurrenttime()
"And
took" && getTime(
) && "
refer
a user-defined property 2000 times."
buttonup
buttonup
getcurrenttime
And it took
getTime
seconds to refer to a user-defined property 2000 times.
Refer To A User-Defined Property
cache
to handle buttonup
set bar to name of this page
step i from 1 to 2000
set foo to bar
end
end
set syscursor to 1
foo to t
end
beep 1
set syscursor to 1
to handle buttonup
step i from 1 to 2000
set foo to name of this page
end
set syscursor to 1
of this page
end
beep 1
set syscursor to 1
et syscursor to 1
to handle buttonup
step i from 1 to 2000
set foo to bar of this page
end
i from 1 to 2000
set xoo to foo of this page
end
set syscursor to 1
et syscursor to 1
yellow
getcurrenttime()
"It took" && (
)/1000 && "
a message
here."
buttonup
buttonup
getcurrenttime
It took
getcurrenttime
seconds for a message to get here.
Send Message (Book Handler)
"vs. Caching Them
If you need to refer to a property of an object more than once in a handler, or series of handlers, it will be much faster to set a variable to that value, and then refer to that variable instead of the property. This is especially true for user-defined properties, which take twice as long to get as default properties do.
"udp"
getcurrenttime()
"And
took" && getTime(
) && "
refer
a user-defined property 2000 times."
buttonup
buttonup
getcurrenttime
And it took
getTime
seconds to refer to a user-defined property 2000 times.
Refer To A User-Defined Property
cache
to handle buttonup
set bar to name of this page
step i from 1 to 2000
set foo to bar
end
end
set syscursor to 1
foo to t
end
beep 1
set syscursor to 1
to handle buttonup
step i from 1 to 2000
set foo to name of this page
end
set syscursor to 1
of this page
end
beep 1
set syscursor to 1
et syscursor to 1
to handle buttonup
step i from 1 to 2000
set foo to bar of this page
end
i from 1 to 2000
set xoo to foo of this page
end
set syscursor to 1
et syscursor to 1
yellow
getcurrenttime()
"It took" && (
)/1000 && "
a message
here."
buttonup
buttonup
getcurrenttime
It took
getcurrenttime
seconds for a message to get here.
Send Message (Book Handler)
"vs. Caching Them
If you need to refer to a property of an object more than once in a handler, or series of handlers, it will be much faster to set a variable to that value, and then refer to that variable instead of the property. This is especially true for user-defined properties, which take twice as long to get as default properties do.
"udp"
getcurrenttime()
"And
took" && getTime(
) && "
refer
a user-defined property 2000 times."
buttonup
buttonup
getcurrenttime
And it took
getTime
seconds to refer to a user-defined property 2000 times.
Refer To A User-Defined Property
cache
to handle buttonup
set bar to name of this page
step i from 1 to 2000
set foo to bar
end
end
set syscursor to 1
foo to t
end
beep 1
set syscursor to 1
to handle buttonup
step i from 1 to 2000
set foo to name of this page
end
set syscursor to 1
of this page
end
beep 1
set syscursor to 1
et syscursor to 1
to handle buttonup
step i from 1 to 2000
set foo to bar of this page
end
i from 1 to 2000
set xoo to foo of this page
end
set syscursor to 1
et syscursor to 1
yellow
getcurrenttime()
"It took" && (
)/1000 && "
a message
here."
buttonup
buttonup
getcurrenttime
It took
getcurrenttime
seconds for a message to get here.
Send Message (Book Handler)
"vs. Caching Them
If you need to refer to a property of an object more than once in a handler, or series of handlers, it will be much faster to set a variable to that value, and then refer to that variable instead of the property. This is especially true for user-defined properties, which take twice as long to get as default properties do.
"udp"
getcurrenttime()
"And
took" && getTime(
) && "
refer
a user-defined property 2000 times."
buttonup
buttonup
getcurrenttime
And it took
getTime
seconds to refer to a user-defined property 2000 times.
Refer To A User-Defined Property
cache
to handle buttonup
set bar to name of this page
step i from 1 to 2000
set foo to bar
end
end
set syscursor to 1
foo to t
end
beep 1
set syscursor to 1
to handle buttonup
step i from 1 to 2000
set foo to name of this page
end
set syscursor to 1
of this page
end
beep 1
set syscursor to 1
et syscursor to 1
to handle buttonup
step i from 1 to 2000
set foo to bar of this page
end
i from 1 to 2000
set xoo to foo of this page
end
set syscursor to 1
et syscursor to 1
yellow
getcurrenttime()
"It took" && (
)/1000 && "
a message
here."
buttonup
buttonup
getcurrenttime
It took
getcurrenttime
seconds for a message to get here.
Send Message (Book Handler)
"vs. Caching Them
If you need to refer to a property of an object more than once in a handler, or series of handlers, it will be much faster to set a variable to that value, and then refer to that variable instead of the property. This is especially true for user-defined properties, which take twice as long to get as default properties do.
"udp"
getcurrenttime()
"And
took" && getTime(
) && "
refer
a user-defined property 2000 times."
buttonup
buttonup
getcurrenttime
And it took
getTime
seconds to refer to a user-defined property 2000 times.
Refer To A User-Defined Property
cache
to handle buttonup
set bar to name of this page
step i from 1 to 2000
set foo to bar
end
end
set syscursor to 1
foo to t
end
beep 1
set syscursor to 1
to handle buttonup
step i from 1 to 2000
set foo to name of this page
end
set syscursor to 1
of this page
end
beep 1
set syscursor to 1
et syscursor to 1
to handle buttonup
step i from 1 to 2000
set foo to bar of this page
end
i from 1 to 2000
set xoo to foo of this page
end
set syscursor to 1
et syscursor to 1
yellow
getcurrenttime()
"It took" && (
)/1000 && "
a message
here."
buttonup
buttonup
getcurrenttime
It took
getcurrenttime
seconds for a message to get here.
Send Message (Book Handler)
"vs. Caching Them
If you need to refer to a property of an object more than once in a handler, or series of handlers, it will be much faster to set a variable to that value, and then refer to that variable instead of the property. This is especially true for user-defined properties, which take twice as long to get as default properties do.
"udp"
getcurrenttime()
"And
took" && getTime(
) && "
refer
a user-defined property 2000 times."
buttonup
buttonup
getcurrenttime
And it took
getTime
seconds to refer to a user-defined property 2000 times.
Refer To A User-Defined Property
cache
to handle buttonup
set bar to name of this page
step i from 1 to 2000
set foo to bar
end
end
set syscursor to 1
foo to t
end
beep 1
set syscursor to 1
to handle buttonup
step i from 1 to 2000
set foo to name of this page
end
set syscursor to 1
of this page
end
beep 1
set syscursor to 1
et syscursor to 1
to handle buttonup
step i from 1 to 2000
set foo to bar of this page
end
i from 1 to 2000
set xoo to foo of this page
end
set syscursor to 1
et syscursor to 1
yellow
getcurrenttime()
"It took" && (
)/1000 && "
a message
here."
buttonup
buttonup
getcurrenttime
It took
getcurrenttime
seconds for a message to get here.
Send Message (Book Handler)
"vs. Caching Them
If you need to refer to a property of an object more than once in a handler, or series of handlers, it will be much faster to set a variable to that value, and then refer to that variable instead of the property. This is especially true for user-defined properties, which take twice as long to get as default properties do.
"udp"
getcurrenttime()
"And
took" && getTime(
) && "
refer
a user-defined property 2000 times."
buttonup
buttonup
getcurrenttime
And it took
getTime
seconds to refer to a user-defined property 2000 times.
Refer To A User-Defined Property
cache
to handle buttonup
set bar to name of this page
step i from 1 to 2000
set foo to bar
end
end
set syscursor to 1
foo to t
end
beep 1
set syscursor to 1
to handle buttonup
step i from 1 to 2000
set foo to name of this page
end
set syscursor to 1
of this page
end
beep 1
set syscursor to 1
et syscursor to 1
to handle buttonup
step i from 1 to 2000
set foo to bar of this page
end
i from 1 to 2000
set xoo to foo of this page
end
set syscursor to 1
et syscursor to 1
yellow
getcurrenttime()
"It took" && (
)/1000 && "
a message
here."
buttonup
buttonup
getcurrenttime
It took
getcurrenttime
seconds for a message to get here.
Send Message (Book Handler)
"vs. Caching Them
If you need to refer to a property of an object more than once in a handler, or series of handlers, it will be much faster to set a variable to that value, and then refer to that variable instead of the property. This is especially true for user-defined properties, which take twice as long to get as default properties do.
"udp"
getcurrenttime()
"And
took" && getTime(
) && "
refer
a user-defined property 2000 times."
buttonup
buttonup
getcurrenttime
And it took
getTime
seconds to refer to a user-defined property 2000 times.
Refer To A User-Defined Property
cache
to handle buttonup
set bar to name of this page
step i from 1 to 2000
set foo to bar
end
end
set syscursor to 1
foo to t
end
beep 1
set syscursor to 1
to handle buttonup
step i from 1 to 2000
set foo to name of this page
end
set syscursor to 1
of this page
end
beep 1
set syscursor to 1
et syscursor to 1
to handle buttonup
step i from 1 to 2000
set foo to bar of this page
end
i from 1 to 2000
set xoo to foo of this page
end
set syscursor to 1
et syscursor to 1
yellow
getcurrenttime()
"It took" && (
)/1000 && "
a message
here."
buttonup
buttonup
getcurrenttime
It took
getcurrenttime
seconds for a message to get here.
Send Message (Book Handler)
"vs. Caching Them
If you need to refer to a property of an object more than once in a handler, or series of handlers, it will be much faster to set a variable to that value, and then refer to that variable instead of the property. This is especially true for user-defined properties, which take twice as long to get as default properties do.
"udp"
getcurrenttime()
"And
took" && getTime(
) && "
refer
a user-defined property 2000 times."
buttonup
buttonup
getcurrenttime
And it took
getTime
seconds to refer to a user-defined property 2000 times.
Refer To A User-Defined Property
cache
to handle buttonup
set bar to name of this page
step i from 1 to 2000
set foo to bar
end
end
set syscursor to 1
foo to t
end
beep 1
set syscursor to 1
to handle buttonup
step i from 1 to 2000
set foo to name of this page
end
set syscursor to 1
of this page
end
beep 1
set syscursor to 1
et syscursor to 1
to handle buttonup
step i from 1 to 2000
set foo to bar of this page
end
i from 1 to 2000
set xoo to foo of this page
end
set syscursor to 1
et syscursor to 1
yellow
getcurrenttime()
"It took" && (
)/1000 && "
a message
here."
buttonup
buttonup
getcurrenttime
It took
getcurrenttime
seconds for a message to get here.
Send Message (Book Handler)
"vs. Caching Them
If you need to refer to a property of an object more than once in a handler, or series of handlers, it will be much faster to set a variable to that value, and then refer to that variable instead of the property. This is especially true for user-defined properties, which take twice as long to get as default properties do.
"udp"
getcurrenttime()
"And
took" && getTime(
) && "
refer
a user-defined property 2000 times."
buttonup
buttonup
getcurrenttime
And it took
getTime
seconds to refer to a user-defined property 2000 times.
Refer To A User-Defined Property
cache
to handle buttonup
set bar to name of this page
step i from 1 to 2000
set foo to bar
end
end
set syscursor to 1
foo to t
end
beep 1
set syscursor to 1
to handle buttonup
step i from 1 to 2000
set foo to name of this page
end
set syscursor to 1
of this page
end
beep 1
set syscursor to 1
et syscursor to 1
to handle buttonup
step i from 1 to 2000
set foo to bar of this page
end
i from 1 to 2000
set xoo to foo of this page
end
set syscursor to 1
et syscursor to 1
yellow
getcurrenttime()
"It took" && (
)/1000 && "
a message
here."
buttonup
buttonup
getcurrenttime
It took
getcurrenttime
seconds for a message to get here.
Send Message (Book Handler)
"vs. Caching Them
If you need to refer to a property of an object more than once in a handler, or series of handlers, it will be much faster to set a variable to that value, and then refer to that variable instead of the property. This is especially true for user-defined properties, which take twice as long to get as default properties do.
"udp"
getcurrenttime()
"And
took" && getTime(
) && "
refer
a user-defined property 2000 times."
buttonup
buttonup
getcurrenttime
And it took
getTime
seconds to refer to a user-defined property 2000 times.
Refer To A User-Defined Property
cache
to handle buttonup
set bar to name of this page
step i from 1 to 2000
set foo to bar
end
end
set syscursor to 1
foo to t
end
beep 1
set syscursor to 1
to handle buttonup
step i from 1 to 2000
set foo to name of this page
end
set syscursor to 1
of this page
end
beep 1
set syscursor to 1
et syscursor to 1
to handle buttonup
step i from 1 to 2000
set foo to bar of this page
end
i from 1 to 2000
set xoo to foo of this page
end
set syscursor to 1
et syscursor to 1
yellow
getcurrenttime()
"It took" && (
)/1000 && "
a message
here."
buttonup
buttonup
getcurrenttime
It took
getcurrenttime
seconds for a message to get here.
Send Message (Book Handler)
"vs. Caching Them
If you need to refer to a property of an object more than once in a handler, or series of handlers, it will be much faster to set a variable to that value, and then refer to that variable instead of the property. This is especially true for user-defined properties, which take twice as long to get as default properties do.
"udp"
getcurrenttime()
"And
took" && getTime(
) && "
refer
a user-defined property 2000 times."
buttonup
buttonup
getcurrenttime
And it took
getTime
seconds to refer to a user-defined property 2000 times.
Refer To A User-Defined Property
cache
to handle buttonup
set bar to name of this page
step i from 1 to 2000
set foo to bar
end
end
set syscursor to 1
foo to t
end
beep 1
set syscursor to 1
to handle buttonup
step i from 1 to 2000
set foo to name of this page
end
set syscursor to 1
of this page
end
beep 1
set syscursor to 1
et syscursor to 1
to handle buttonup
step i from 1 to 2000
set foo to bar of this page
end
i from 1 to 2000
set xoo to foo of this page
end
set syscursor to 1
et syscursor to 1
yellow
getcurrenttime()
"It took" && (
)/1000 && "
a message
here."
buttonup
buttonup
getcurrenttime
It took
getcurrenttime
seconds for a message to get here.
Send Message (Book Handler)
"vs. Caching Them
If you need to refer to a property of an object more than once in a handler, or series of handlers, it will be much faster to set a variable to that value, and then refer to that variable instead of the property. This is especially true for user-defined properties, which take twice as long to get as default properties do.
"udp"
getcurrenttime()
"And
took" && getTime(
) && "
refer
a user-defined property 2000 times."
buttonup
buttonup
getcurrenttime
And it took
getTime
seconds to refer to a user-defined property 2000 times.
Refer To A User-Defined Property
cache
to handle buttonup
set bar to name of this page
step i from 1 to 2000
set foo to bar
end
end
set syscursor to 1
foo to t
end
beep 1
set syscursor to 1
to handle buttonup
step i from 1 to 2000
set foo to name of this page
end
set syscursor to 1
of this page
end
beep 1
set syscursor to 1
et syscursor to 1
to handle buttonup
step i from 1 to 2000
set foo to bar of this page
end
i from 1 to 2000
set xoo to foo of this page
end
set syscursor to 1
et syscursor to 1
yellow
getcurrenttime()
"It took" && (
)/1000 && "
a message
here."
buttonup
buttonup
getcurrenttime
It took
getcurrenttime
seconds for a message to get here.
Send Message (Book Handler)
"vs. Caching Them
If you need to refer to a property of an object more than once in a handler, or series of handlers, it will be much faster to set a variable to that value, and then refer to that variable instead of the property. This is especially true for user-defined properties, which take twice as long to get as default properties do.
"udp"
getcurrenttime()
"And
took" && getTime(
) && "
refer
a user-defined property 2000 times."
buttonup
buttonup
getcurrenttime
And it took
getTime
seconds to refer to a user-defined property 2000 times.